package com.hk.service.order.impl;

import com.hk.domain.entity.OperateLogDo;
import com.hk.domain.entity.UpdateOrder;
import com.hk.service.order.Convert;

/**
 * @author: dpb
 * @Description TODO
 * @date: 2022/12/6 23:56
 * @Version 1.0
 */
public class UpdateOrderConvert implements Convert<UpdateOrder> {


    @Override
    public OperateLogDo covert(UpdateOrder updateOrder) {
        OperateLogDo operateLogDo = new OperateLogDo();
        operateLogDo.setOrderId(updateOrder.getOrderId());
        return operateLogDo;
    }
}
